package com.bawei.module_home.goods_act.m;

import androidx.lifecycle.LiveData;

import com.bawei.library_base.mvvm.BaseRepository;
import com.bawei.module_home.mvp.Goods;

/**
 * @author : zhiyu
 * @date : 2021/12/13
 * @content :
 */
public class SearchGoodsRepository extends BaseRepository<SearchGoodsModel> {
    public SearchGoodsRepository(SearchGoodsModel mModel) {
        super(mModel);
    }

    public LiveData<Goods> getGoods(String keyword,String type,int pageno,int pagesize){
        return mModel.getGoods(keyword, type, pageno, pagesize);
    }
}
